package com.autumn.aitraffic.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 路口流量统计明细表
 * </p>
 *
 * @author wzx
 * @since 2025-04-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("flow_detail")
@ApiModel(value="FlowDetail对象", description="路口流量统计明细表")
public class FlowDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "路口编号")
    private Integer intersection;

    @ApiModelProperty(value = "入口方向数组（序列化存储）")
    private String entrances;

    @ApiModelProperty(value = "出口方向数组（序列化存储）")
    private String wayOuts;

    @ApiModelProperty(value = "统计时间")
    private LocalDateTime time;

    @ApiModelProperty(value = "车辆数量数组（序列化存储）")
    private Long vehicleNumbers;


}
